->:

gapt.expr.ty.->:
object ->:

Attributes

Source
->:.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
->:.type

Members list

Value members

Concrete methods

def unapply(ty: Ty): Option[(Ty, Ty)]

Interprets the given type as an arrow type.

Interprets the given type as an arrow type.

Value parameters

ty

The type to be interpreted as an arrow type.

Attributes

Returns

Returns Some( (t,r) ) if ty = t -> r, otherwise None is returned.

Source
->:.scala